package com.bzframework.project.api.service;

import com.bzframework.project.api.entity.OpenApiEntity;
import org.hswebframework.web.crud.service.GenericReactiveCrudService;
import org.springframework.http.codec.multipart.FilePart;
import org.springframework.stereotype.Service;
import reactor.core.publisher.Mono;

/**
 * @Author bingzhong
 * @Date 2025/3/3 15:52
 * @Description
 */
@Service
public class OpenApiService extends GenericReactiveCrudService<OpenApiEntity, String> {

    private final String apiStoragePath = System.getProperty("openapi.storage.path", "./data/protocol");


    public Mono<String> uploadApiSupportJar(FilePart filePart) {
        return Mono.empty();
    }

    public Mono<Boolean> loadApiSupportJar(String jarPath) {
        return Mono.empty();
    }
}
